<?php
/**
 * 后台默认首页控制器
 * @access 
 * @author alang(lanlibin23@163.com)
 */

class Index extends Admin_controller{
	
	public function __construct()
	{
		parent::__construct();
		$this->load->helper('url');
	}
	
	
	public function index()
	{
		$this->load->view('adminroot/index');
	}
	
	function top() {
        $this->load->view('adminroot/top');
    }
    
	function menu() {
		$id = intval( $this->uri->rsegment(4) );
		$data['id'] = $id ? $id : 1;
		
        $this->load->view('adminroot/menu',$data);
    }
    
    function main(){
    	$this->load->view('adminroot/archives');
    }
	
	
}